.class Lcom/teewoo/app/bus/ui/Home4StaticMap$2;
.super Ljava/lang/Object;
.source "Home4StaticMap.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/teewoo/app/bus/ui/Home4StaticMap;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/Home4StaticMap;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    .line 295
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .parameter "v"

    .prologue
    .line 299
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v1

    packed-switch v1, :pswitch_data_0

    .line 320
    :goto_0
    return-void

    .line 301
    :pswitch_0
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/teewoo/app/bus/util/Utils;->getNetworkStatus(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 302
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$3(Lcom/teewoo/app/bus/ui/Home4StaticMap;)V

    goto :goto_0

    .line 304
    :cond_0
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/teewoo/app/bus/util/DialogUtil;->netSettingDialog(Landroid/content/Context;)V

    goto :goto_0

    .line 307
    :pswitch_1
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/teewoo/app/bus/util/Utils;->getNetworkStatus(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 308
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    new-instance v2, Landroid/content/Intent;

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v3

    const-class v4, Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    invoke-direct {v2, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {v1, v2}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 310
    :cond_1
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/teewoo/app/bus/util/DialogUtil;->netSettingDialog(Landroid/content/Context;)V

    goto :goto_0

    .line 313
    :pswitch_2
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/teewoo/app/bus/util/Utils;->getNetworkStatus(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 314
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 315
    .local v0, it:Landroid/content/Intent;
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v1, v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 317
    .end local v0           #it:Landroid/content/Intent;
    :cond_2
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$2;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/teewoo/app/bus/util/DialogUtil;->netSettingDialog(Landroid/content/Context;)V

    goto :goto_0

    .line 299
    :pswitch_data_0
    .packed-switch 0x7f0a0024
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
